package it.ap.sa.core.dao.hibernate.envers;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.envers.DefaultRevisionEntity;
import org.hibernate.envers.RevisionEntity;

/**
 * @author Alessandro Paolillo
 */
@Entity
@RevisionEntity(ExtendRevisionListener.class)
@Table(name = "revision_info", schema = "public_envers")
public class ExtendRevisionEntity extends DefaultRevisionEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String username;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
}
